package com.rcloud.server.sealtalk.enums;

public enum BusiType {
    //1:商户认证

    /**
     * 充值
     */
    MERCHANT_AUTH(1, "商户认证");



    private Integer num;

    private String busiTypeName;

    public Integer value() {
        return num;
    }

    public String getBusiTypeName() {
        return busiTypeName;
    }

    BusiType(Integer num, String busiTypeName) {
        this.num = num;
        this.busiTypeName = busiTypeName;
    }

    public static BusiType instance(Integer value) {
        BusiType[] enums = values();
        for (BusiType statusEnum : enums) {
            if (statusEnum.value().equals(value)) {
                return statusEnum;
            }
        }
        return null;
    }
}
